package com.opgea.tutor.domain.entities;

import com.opgea.tutor.domain.entities.Post;
import java.io.Serializable;
import javax.persistence.*;

/**
 * Entity implementation class for Entity: StudentPost
 * 
 */
@Entity
@Inheritance(strategy = InheritanceType.JOINED)
public class StudentPost extends Post implements Serializable {

    private static final long serialVersionUID = 1L;

    private String someText;

    public StudentPost() {
	super();
    }

    public String getSomeText() {
	return someText;
    }

    public void setSomeText(String someText) {
	this.someText = someText;
    }

    @Override
    public String toString() {
	return "StudentPost [someText=" + someText + ", getId()=" + getId()
		+ ", getHeading()=" + getHeading() + ", getDescription()="
		+ getDescription() + ", getStatus()=" + getStatus()
		+ ", getPostedOn()=" + getPostedOn() + ", getClosedOn()="
		+ getClosedOn() + ", hashCode()=" + hashCode()
		+ ", getClass()=" + getClass() + ", toString()="
		+ super.toString() + "]";
    }

}
